/*
 * @Description:
 * @Autor: lcz
 * @LastEditors: lcz
 * @LastEditTime: 2023-10-13 11:04:32
 */
import React, { useEffect } from "react";
// import hooks from "@/hooks";
import { useMountState } from "@/hooks";
import constAnt from "virtual:const";
const TestPage = () => {
  const isMounted = useMountState();
  console.log(isMounted());

  useEffect(() => {
    console.log(isMounted(), constAnt);
  }, []);
  // isMounted.then(res=>{
  //   console.log(res.default())
  // })
  // isMounted.then(res => {
  //   console.log(res);
  // });
  // useEffect(() => {
  //   console.log(hooks);
  // }, []);
  return <>{}</>;
};
export default TestPage;
